package com.cheng.example.atguigu.design_pattern.template.improve;

/*
 * @author 程帅
 * @createTime: 2020/10/17 14:23
 * @Created: with IntelliJ IDEA.
 */
public class Client {

    public static void main(String[] args) {
        System.out.println("--制作红豆豆浆--");
        RedBeanSoyaMilk redBeanSoyaMilk = new RedBeanSoyaMilk();
        redBeanSoyaMilk.make();

        System.out.println("\n--制作花生豆浆--");
        PeanutSoyaMilk peanutSoyaMilk = new PeanutSoyaMilk();
        peanutSoyaMilk.make();

        System.out.println("\n--制作纯豆浆--");
        PureSoyaMilk pureSoyaMilk = new PureSoyaMilk();
        pureSoyaMilk.make();

    }
}
